package cn.hs.service.impl;

import cn.hs.entity.Specialty;
import cn.hs.mapper.SpecialtyMapper;
import cn.hs.service.SpecialtyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @ClassName SpecialtyServiceImpl
 * @Description TODO
 * @Author yyk
 * @Date 2024年10月24日 19:22
 * @Version 1.0
 */

@Service
public class SpecialtyServiceImpl implements SpecialtyService {
    @Autowired
    private SpecialtyMapper specialtyMapper;
    @Override
    public List<Specialty> findBysId(Integer sid) {
      return specialtyMapper.findBysId(sid);
    }
}
